<form id="ajax_form" onsubmit="return CandidatePhone.processPhone();">
	<table class="table">
		<tbody>
			<tr>
				<td class="right rlabel"><label for="region"><?php echo $this->lang->line('phone_phone'); ?>:</label></td>
				<td>
				<input type="text" class="input mask2number hide" size="2" value="<?php echo $country; ?>" id="country" name="country">
				<input type="text" class="input mask2number" size="2" value="<?php echo $region; ?>" id="region" name="region">
				<input type="text" class="input mask8number" size="20" value="<?php echo $number; ?>" id="number" name="number"></td>
			</tr>
			<tr>
				<td colspan="2" class="center">
					<label for="btnEnter"><input type="submit" id="btnEnter" class="submit" value="<?php echo $this->lang->line('phone_save'); ?>" /></label>
				</td>
			</tr>
		</tbody>
	</table>
	<div id="result_ajax"></div>
	<input type="hidden" value="<?php echo $id_phone; ?>" name="idphone" id="idphone" />
</form>
<script type="text/javascript">
$(".mask2number").mask("99");
$(".mask8number").mask("9999-9999");
</script>